<?php
class TestCommon
{
    public static $DefaultBlueSubmitButton 	= '//*[@class="blue_button"]';
    public static $DefaultBlackSubmitButton = '//*[@class="black_button"]';
    public static $SuccessGreenMessage 		= '//*[@class="form-success"]';
    public static $ErrorRedMessage 			= '//*[@class="err_msg red_text"]';

    public static $email = 'veshkin.alpari@gmail.com';
	public static $password = '123';

    public static function login($I)
    {
        $I->amOnPage('/login');
		$I->submitForm('//form', array(
			'username' => self::$email,
			'password' => self::$password));
        $I->click(self::$DefaultBlueSubmitButton);
    }
}
